//
//  XGQMController.h
//  YanTaiBang
//
//  Created by broad zou on 12-9-6.
//  Copyright (c) 2012年 UEXSS. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UEXController.h"

typedef enum {
	KUEXInputTypeExchange = 0,
	kUEXInputTypeSale,
} KUEXInputType;

@protocol UEXInputDelegate <NSObject>
@optional
- (void)modifySuccess:(NSString*)text_;
@end

@interface UEXInputController : UIViewController
@property (nonatomic, assign) id<UEXInputDelegate> delegate;
@end

@interface UEXInputController (kUEXCTView) <UITextViewDelegate> {
@private
	BOOL _viewInitDone;
	NoDataView *_nullView;
	UIActivityIndicatorView *_indicatorView;
	UITextView *_textView;
	UILabel *_label;
    UIView *_vSmile;
}
@property (nonatomic, copy) NSString *textValue;
@property (nonatomic, copy) NSString *btnTitleLeft;
@property (nonatomic, copy) NSString *btnTitleRight;
@property (nonatomic, retain) UIImage *imgLeft;
@property (nonatomic, retain) UIImage *imgRight;
@property (nonatomic)KUEXInputType inputType;
@property (nonatomic, copy) NSString *dataID;
@property (nonatomic, copy) NSString *dataType;
@property (nonatomic, copy) NSString *replyID;
@end

@interface UEXInputController (kUEXCTData) {
@private
    float _keyboardHeight;
}
@end
